#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@class YZRegInfoViewController;

@interface RequestServerAPI : NSObject

+(BOOL)apiGetDynamicMessage:(UIViewController *) super_vc requestType:(NSString*)requestType baseId:(NSString *)base_id;

+(BOOL)apiGetAddressList:(YZRegInfoViewController *)super_vc;

+(BOOL)apiCommitApply:(UIViewController *)super_vc schoolName:(NSString *)school_name schoolType:(NSString *)schoolNameType contactPerson:(NSString *)person phoneNumber:(NSString *)phone province:(NSString*)prov city:(NSString*)city country:(NSString*)country town:(NSString*)town;

+(BOOL)apiGetSchoolInTown:(YZRegInfoViewController *)super_vc townName:(NSString *)town;

+(BOOL)apiResetPassword:(UIViewController *)super_vc phoneNumber:(NSString *)number authCode:(NSString *)authCode password:(NSString *)pwd;

+(BOOL)apiTeacherRegister:(UIViewController *)super_vc userName:(NSString *) name password:(NSString*) pwd phoneNumber:(NSString*)number avatar:(NSString*)ava;

+(BOOL)apiTeacherRelogin:(UIViewController *)super_vc userId:(NSString *) userId userType:(NSString *) userType userToken:(NSString *) userToken;

+(BOOL)apiJoinSchool:(UIViewController*)super_vc schoolCode:(NSString *)school_code;

+(BOOL)apiTeacherLogin:(UIViewController *)super_vc account:(NSString *) account password:(NSString *)psw;

+(BOOL) apiRegisterPhone:(UIViewController *)super_vc phoneNumber:(NSString*) number type:(NSString*)type codetype:(NSString*)codetype superFlag:(int) flag;

+(BOOL) apiValidCode:(UIViewController *)super_vc phoneNumber:(NSString*) number authCode:(NSString *)auth_code;

@end
